﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

using Math = Axial.DOM.Math;

namespace Axial
{
	public static partial class CallHandler
	{
		[CallHandler(typeof(Math))]
		private static string HandleMath(MethodInfo method, object called, object[] stack)
		{
			if (method.Name == "get_PI")
				return "Math.PI";
			return StandardHandler(method, called, stack);
		}
	}
}
